package com.yiren.dbaa.module.practice_set.carmodel.contract;

import com.yiren.backstage.currency.entity.CarModelEntity;
import com.yiren.dbaa.currency.api.CommonCallBack;

/**
 * @author lwb
 * @date : 2022/12/6 9:01
 * @description:  已公开车模
 */
public interface OpenCarmodelContract {

    interface Presenter {
        /**
         * 加载已公车模列表
         * @return
         */
        void loadOpenCarmodel(String userId, CommonCallBack callBack);

        /**
         * 设置启用和停用状态
         */
        void setCarModelState(int state, CarModelEntity carModel, CommonCallBack callBack);
    }

    interface Model {
        /**
         * 设置启用和停用状态
         */
        void changeCarModelState(int state, CarModelEntity carModel, CommonCallBack callBack);
    }

    interface View {

    }


}
